<?php
namespace app\api\validate\1;

class UnionOrder extends Base
{
    public function sceneCreate()
    {
        return $this->only(['amount'])
            ->append('amount', 'require|>:0');
    }
}